package com.gnerv.author.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gnerv.author.dto.ArticalCountDTO;
import com.gnerv.author.entity.Commentary;

import java.util.List;

/**
 * <p>
 * 博客平台-评论表 Mapper 接口
 * </p>
 *
 * @author Gnerv LiGen
 * @since 2019-07-19
 */
public interface CommentaryMapper extends BaseMapper<Commentary> {

    /**
     * 查询文章及文章待审核的评论数
     *
     * @return
     */
    List<ArticalCountDTO> selArticalComment();
}
